if(SERVER) then
	if(!file.IsDir("sledge")) then
		file.CreateDir("sledge")
	end
	if(!file.Exists("sledge/users.txt")) then
		users = {}
		file.Write("sledge/users.txt", sledge.TableToString(users))
	end
	if(!file.Exists("sledge/groups.txt")) then
		groups = {}
		file.Write("sledge/groups.txt", sledge.TableToString(groups))
	end
	if(!file.Exists("sledge/disabledplugs.txt")) then
		disabledplugs = {}
		file.Write("sledge/disabledplugs.txt", sledge.TableToString(disabledplugs))
	end
	include("sledge_server.lua")
	include("sledge_parse.lua")
	include("sledge_users.lua")
	include("sledge_pluginsys.lua")
	for k,v in pairs(player.GetAll()) do
		sledge.LoadPerms(v)
	end
elseif(CLIENT) then
	include("sledge_client.lua")
	include("vgui/vgui_sledge.lua")
end
